﻿@model WorkTimePrj.Models.Item
<tr>
    <td>
        <div class="WP_2 group">
            <div class="WP_6">@Html.DisplayFor(x => x.rowNum)</div>
            <div class="WP_3">
                <div>
                    @Html.HiddenFor(x => x.uid, new { @Value = Model.uid })
                    @Html.HiddenFor(x => x.pid, new { @Value = Model.pid })
                    @Html.HiddenFor(x => x.account, new { @Value = Model.account })
                    @Html.HiddenFor(x => x.cost, new { @Value = Model.cost })
                    @Html.HiddenFor(x => x.submittime, new { @Value = Model.submittime })
                    @Html.HiddenFor(x => x.starttime, new { @Value = Model.starttime })
                    @Html.HiddenFor(x => x.status, new { @Value = Model.status })
                    @Html.HiddenFor(x => x.role, new { @Value = Model.role })
                    @Html.HiddenFor(x => x.title, new { @Value = Model.title })
                    <span class="Label02">[@Html.DisplayFor(x => x.Project.code)]</span> <span class="Label02">@Html.DisplayFor(x => x.Project.display)</span>
                    <div>
                        <label class="Label01">
                            员工姓名：</label>
                        <span>
                            @Html.DisplayFor(x => x.submitter)
                        </span>&nbsp;&nbsp;&nbsp;
                        <label class="Label01">
                            时间段：</label>
                        <span>
                            @Html.DisplayFor(x => x.worktime)
                        </span>&nbsp;&nbsp;&nbsp;
                        <label class="Label01">
                            工作量：</label>
                        <span>
                            @Html.DisplayFor(x => x.cost)H </span>
                    </div>
                    <div>
                        <label class="Label01">
                            单项内容：</label>
                        <span>
                            @Html.DisplayFor(x => x.title)
                        </span>
                    </div>
                    <div>
                        <label class="Label01">
                            确认状态：
                        </label>
                        @if (Model.ack != null)
                        {
                            <span>
                                @Html.DisplayFor(x => x.ack_type)
                            </span>
                        }
                        else
                        {
                            <span style="color: Red;">未确认 </span>
                        }
                    </div>
                </div>
            </div>
        </div>
    </td>
</tr>
